



public class Test08 {
    public static void main(String[] args) {
        Phone phone1=new Phone();
        phone1.brand="华为";
        phone1.price=20000;
        System.out.println("品牌："+phone1.brand+"   价格："+phone1.price);
        phone1.sendMsg("喜羊羊","我还会回来的");
    }
}
